package com.tjtt.tdm.flow.service;

import java.util.List;

import com.tjtt.tdm.flow.bean.FlowDetailed;
import com.tjtt.tdm.flow.bean.FlowTask;
import com.tjtt.tdm.flow.bean.FlowTaskInfo;
import com.tjtt.tdm.form.bean.AutoFormsField;
import com.tjtt.tdm.form.bean.AutoFormsNew;


public interface IFlowformService {
	public AutoFormsNew getAutoFormsNewById(String formId);
	
	public List<AutoFormsField> getAutoFormsFieldByformid(String formid);
	
	public FlowTask getFlowTaskById(String id);
	
	public void updateFlowTask(FlowTask flowTask);
	
	public String saveFlowTask(FlowTask flowTask);
	
	public String saveFlowDetailed(FlowDetailed flowDetailed);
	
	
	public FlowTaskInfo getFlowTaskInfoById(String id);
	
	public void updateFlowTaskInfo(FlowTaskInfo flowTaskInfo);
	
	public String saveFlowTaskInfo(FlowTaskInfo flowTaskInfo);
	
	public void delFlowTaskInfo(FlowTaskInfo flowtaskinfo);
	
	public int getFlowtaskinfoStatecount(String taskid,String stateid);
	
	public void delFlowTaskInfoAll(String taskid);
	
	public FlowDetailed getFlowDetailedById(String id);
}
